package com.gitee.kamismile.stone.basic.data.infrastructure.enums;

public enum UserErrorEnum {

    /**
     * 异常1_00_000
     * 项目_模块_异常
     */
    UserNotFound(1_06_000, "用户未找到"),
    UserNotNull(1_06_001, "用户ID不能为空"),

    UserDepNotFound(1_06_100, "用户部门未找到"),
    UserDepNotNull(1_06_101, "用户部门ID不能为空"),


    UserRoleNotFound(1_06_200, "用户角色未找到"),
    UserRoleNotNull(1_06_201, "用户角色ID不能为空"),



    UserResNotFound(1_06_300, "用户资源未找到"),
    UserResNotNull(1_06_301, "用户资源ID不能为空"),


    UserSetupNotFound(1_06_400, "用户资源未找到"),
    UserSetupNotNull(1_06_401, "用户资源ID不能为空"),

    UserShortcutNotFound(1_06_500, "用户资源未找到"),
    UserShortcutNotNull(1_06_501, "用户资源ID不能为空"),
    ;
    private int code;
    private String message;

    UserErrorEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
